<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
    *{margin: 0;padding: 0;}
    div{
        width:150px;
        height: 100px;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        border:1px solid #000;
    }
    img {
        
    }
</style>
	<body>
    <div>
    	<!-- display:table-cell属性指让标签元素以表格单元格的形式呈现，类似于td标签。-->
      <img alt="" src="https://www.baidu.com/img/baidu_jgylogo3.gif"  />
    </div>
</body>
	
</html>
